package com.hezhanying.service;


import com.hezhanying.pojo.Emp;
import com.hezhanying.pojo.PageBean;

import java.time.LocalDate;
import java.util.List;

public interface EmpService {
   void addEmp(Emp emp);
   void deleteEmp(Integer id);
   void updateEmp(Emp emp);
   PageBean getAllEmp(Integer page, Integer pageSize, String name, Short gender, LocalDate begin, LocalDate end);

   Emp login(Emp emp);
}
